<template>
  <div class="home">
    <tinymce-editor ref="editor"
        :value="content"
        @input="getInput"
    >
    </tinymce-editor>
    <div v-html="content"></div>
  </div>
</template>

<script>
import TinymceEditor from '@/components/TEditor';
export default {
  name: 'Home',
  data(){
    return {
      language: 'zh_CN',
      skin: 'oxide',
      content:'adasdds'
    }
  },
  components: {
    TinymceEditor
  },
  methods:{
    getInput(input){
      this.content = input;
    }
  }
}
</script>